home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Choice 3
/
Your Choice Software Collection 3.iso
/
os2
/
rxbas134
/
rx.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-04-15
|
925b
|
39 lines
/* rexx */
signal on syntax
parse arg noname
say rxfuncadd(rexxbase_init,"REXXBASE",Rexxbase_Init);
say rexxbase_init()
say rexxbase_opendbf("noname")
do i = 1 to noname.fieldcount
k = "say noname.fieldname.i "
k = k || " noname."noname.fieldname.i".type"
k = k || " noname."noname.fieldname.i".length"
interpret k
end /* do */
say noname
do i = 1 to noname.recordcount
say record i noname.recordstatus
say reading is rexxbase_readdbf("noname")
do j = 1 to noname.fieldcount
k = "t = noname."noname.fieldname.j".type"
k = "say noname.fieldname.j "
k = k || " is noname." || noname.fieldname.j
interpret k
end /* do */
end /* do */
say rexxbase_closedbf("noname")
say 'exitting'
exit
syntax:
errormsg = 'rexx error ' rc ' in line ' sigl ':' errortext(rc)
say errormsg
say sourceline(sigl)
exit